package com.qq.supplier.entity;

import java.util.Date;

//进货页面
public class Part {
    private String id;
    private String partVar;//类型
    private String partName;//名字
    private String partVersion;//型号
    private String partColor;//颜色
    private String partAddress;//产地
    private String partSource;//供货商
    private Date partInDate;//入库日期
    private long partInPrice;//进价
    private int partTotal;//数量
    private long partTotalPrice;//总价

    @Override
    public String toString() {
        return "Part{" +
                "id='" + id + '\'' +
                ", partVar='" + partVar + '\'' +
                ", partName='" + partName + '\'' +
                ", partVersion='" + partVersion + '\'' +
                ", partColor='" + partColor + '\'' +
                ", partAddress='" + partAddress + '\'' +
                ", partSource='" + partSource + '\'' +
                ", partInDate=" + partInDate +
                ", partInPrice=" + partInPrice +
                ", partTotal=" + partTotal +
                ", partTotalPrice=" + partTotalPrice +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPartVar() {
        return partVar;
    }

    public void setPartVar(String partVar) {
        this.partVar = partVar;
    }

    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getPartVersion() {
        return partVersion;
    }

    public void setPartVersion(String partVersion) {
        this.partVersion = partVersion;
    }

    public String getPartColor() {
        return partColor;
    }

    public void setPartColor(String partColor) {
        this.partColor = partColor;
    }

    public String getPartAddress() {
        return partAddress;
    }

    public void setPartAddress(String partAddress) {
        this.partAddress = partAddress;
    }

    public String getPartSource() {
        return partSource;
    }

    public void setPartSource(String partSource) {
        this.partSource = partSource;
    }

    public Date getPartInDate() {
        return partInDate;
    }

    public void setPartInDate(Date partInDate) {
        this.partInDate = partInDate;
    }

    public long getPartInPrice() {
        return partInPrice;
    }

    public void setPartInPrice(long partInPrice) {
        this.partInPrice = partInPrice;
    }

    public int getPartTotal() {
        return partTotal;
    }

    public void setPartTotal(int partTotal) {
        this.partTotal = partTotal;
    }

    public long getPartTotalPrice() {
        return partTotalPrice;
    }

    public void setPartTotalPrice(long partTotalPrice) {
        this.partTotalPrice = partTotalPrice;
    }
}
